Socket
Socket
Sign inDemoInstall

bootstrap-sass

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-sass

bootstrap-sass is a Sass-powered version of Bootstrap 3, ready to drop right into your Sass powered applications.


Version published
Weekly downloads
46K
decreased by-79.56%
Maintainers
4
Weekly downloads
 
Created

What is bootstrap-sass?

The bootstrap-sass npm package is a Sass-powered version of Bootstrap, a popular front-end framework for developing responsive and mobile-first web projects. It allows developers to use Bootstrap's components and utilities with the power of Sass for more flexible and maintainable styles.

What are bootstrap-sass's main functionalities?

Responsive Grid System

Bootstrap-sass provides a responsive grid system that allows you to create complex layouts using a series of rows and columns. The grid system is fully responsive and adjusts to different screen sizes.

/* Import Bootstrap's grid system */
@import 'bootstrap-sass/assets/stylesheets/bootstrap';

/* Example HTML */
<div class="container">
  <div class="row">
    <div class="col-md-4">Column 1</div>
    <div class="col-md-4">Column 2</div>
    <div class="col-md-4">Column 3</div>
  </div>
</div>

Customizable Variables

Bootstrap-sass allows you to customize Bootstrap's default variables to fit your project's design requirements. You can change colors, fonts, and other styles by overriding the default variables before importing the rest of Bootstrap.

/* Import Bootstrap's variables and mixins */
@import 'bootstrap-sass/assets/stylesheets/bootstrap/variables';
@import 'bootstrap-sass/assets/stylesheets/bootstrap/mixins';

/* Customize variables */
$brand-primary: #5cb85c;
$font-size-base: 16px;

/* Import the rest of Bootstrap */
@import 'bootstrap-sass/assets/stylesheets/bootstrap';

Pre-styled Components

Bootstrap-sass includes a variety of pre-styled components such as buttons, navigation bars, forms, and modals. These components are ready to use and can be easily customized using Sass.

/* Import Bootstrap's components */
@import 'bootstrap-sass/assets/stylesheets/bootstrap';

/* Example HTML */
<button class="btn btn-primary">Primary Button</button>
<nav class="navbar navbar-default">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">Brand</a>
    </div>
  </div>
</nav>

Other packages similar to bootstrap-sass

Keywords

FAQs

Package last updated on 28 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc